home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / DELPHI / GPCLIP.ZIP / SAMPLES.ZIP / FRAME / GPCLIP / SAMPLES / MDITEXT.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-07-30  |  892 b   |  48 lines

  1. unit Mditext;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, StdCtrls, Grids, Mask, ExtCtrls;
  8.  
  9. type
  10.   TForm2 = class(TForm)
  11.     Panel1: TPanel;
  12.     Label2: TLabel;
  13.     Label3: TLabel;
  14.     Label4: TLabel;
  15.     Label5: TLabel;
  16.     Label6: TLabel;
  17.     Edit1: TEdit;
  18.     MaskEdit1: TMaskEdit;
  19.     ComboBox1: TComboBox;
  20.     Memo1: TMemo;
  21.     StringGrid1: TStringGrid;
  22.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  23.     procedure Button1Click(Sender: TObject);
  24.   private
  25.     { Private declarations }
  26.   public
  27.     { Public declarations }
  28.   end;
  29.  
  30. var
  31.   Form2: TForm2;
  32.  
  33. implementation
  34.  
  35. {$R *.DFM}
  36.  
  37. procedure TForm2.FormClose(Sender: TObject; var Action: TCloseAction);
  38. begin
  39.   action := caFree;
  40. end;
  41.  
  42. procedure TForm2.Button1Click(Sender: TObject);
  43. begin
  44.   close;
  45. end;
  46.  
  47. end.
  48.